home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / phigs / ptk.lha / ptk / fortran / library / makefile.a next >
Encoding:
Makefile  |  1992-06-18  |  1.6 KB  |  95 lines

  1. #
  2. # makefile for the Fortran PHIGS Toolkit library.
  3. # J.G. Williams 6/92
  4. #
  5.  
  6. OBJECTS = tran.o hash.o plib.o menu.o phin.o tsl.o cns.o \
  7.           topo.o stct.o wind.o misc.o dbug.o view.o ftoc.o
  8.  
  9. SRCDIR = ../source/library/
  10.  
  11. #DBG = -g
  12. DBG = 
  13.  
  14. PHIGSINCDIR = $(PHIGSHOME)/include/phigs
  15.  
  16. FFLAGS = -c $(DBG)
  17. CFLAGS = -c $(DBG) -DSUN -I../../include -I$(PHIGSINCDIR)
  18.  
  19. libptk77.a: libptk77.a($(OBJECTS))
  20.     ar rcv $@ $?
  21.     ranlib $@
  22.  
  23. libptk77.a(tran.o): tran.o
  24.  
  25. tran.o: $(SRCDIR)tran.f
  26.     f77 $(FFLAGS) $@ $(SRCDIR)tran.f
  27.  
  28. libptk77.a(hash.o): hash.o
  29.  
  30. hash.o: $(SRCDIR)hash.f
  31.     f77 $(FFLAGS) $@ $(SRCDIR)hash.f
  32.  
  33. libptk77.a(plib.o): plib.o
  34.  
  35. plib.o: $(SRCDIR)plib.f
  36.     f77 $(FFLAGS) $@ $(SRCDIR)plib.f
  37.  
  38. libptk77.a(menu.o): menu.o
  39.  
  40. menu.o: $(SRCDIR)menu.f
  41.     f77 $(FFLAGS) $@ $(SRCDIR)menu.f
  42.  
  43. libptk77.a(phin.o): phin.o
  44.  
  45. phin.o: $(SRCDIR)phin.f
  46.     f77 $(FFLAGS) $@ $(SRCDIR)phin.f
  47.  
  48. libptk77.a(tsl.o): tsl.o
  49.  
  50. tsl.o: $(SRCDIR)tsl.f
  51.     f77 $(FFLAGS) $@ $(SRCDIR)tsl.f
  52.  
  53. libptk77.a(cns.o): cns.o
  54.  
  55. cns.o: $(SRCDIR)cns.f
  56.     f77 $(FFLAGS) $@ $(SRCDIR)cns.f
  57.  
  58. libptk77.a(topo.o): topo.o
  59.  
  60. topo.o: $(SRCDIR)topo.f
  61.     f77 $(FFLAGS) $@ $(SRCDIR)topo.f
  62.  
  63. libptk77.a(stct.o): stct.o
  64.  
  65. stct.o: $(SRCDIR)stct.f
  66.     f77 $(FFLAGS) $@ $(SRCDIR)stct.f
  67.  
  68. libptk77.a(wind.o): wind.o
  69.  
  70. wind.o: $(SRCDIR)wind.f
  71.     f77 $(FFLAGS) $@ $(SRCDIR)wind.f
  72.  
  73. libptk77.a(misc.o): misc.o
  74.  
  75. misc.o: $(SRCDIR)misc.f
  76.     f77 $(FFLAGS) $@ $(SRCDIR)misc.f
  77.  
  78. libptk77.a(dbug.o): dbug.o
  79.  
  80. dbug.o: $(SRCDIR)dbug.f
  81.     f77 $(FFLAGS) $@ $(SRCDIR)dbug.f
  82.  
  83. libptk77.a(view.o): view.o
  84.  
  85. view.o: $(SRCDIR)view.f
  86.     f77 $(FFLAGS) $@ $(SRCDIR)view.f
  87.  
  88. libptk77.a(ftoc.o): ftoc.o
  89.  
  90. ftoc.o: $(SRCDIR)ftoc.c
  91.     cc $(CFLAGS) $@ $(SRCDIR)ftoc.c
  92.  
  93. clean:
  94.     rm -f $(OBJECTS)
  95.